home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / av077wb3.zip / AVALON.ZIP / RUNAV.BAT < prev    next >
DOS Batch File  |  1997-03-30  |  540b  |  31 lines

  1. @ECHO OFF
  2. C:
  3. REM CD\AVALON
  4. REM ^ SET THIS TO THE AVALON DIRECTORY! (and delete the REM)
  5.  
  6. IF "%1" == "" GOTO STOP
  7.  
  8. if exist EGO%1.BAT DEL EGO%1.BAT
  9. if exist AVINFO.%1 DEL AVINFO.%1
  10.  
  11. :BEGIN              
  12. AVALON.EXE %1 %2
  13. IF ERRORLEVEL 255 GOTO DONE   
  14. IF ERRORLEVEL 254 GOTO EGO
  15. GOTO DONE
  16.  
  17. :EGO
  18. CALL EGO%1.BAT
  19. GOTO BEGIN
  20.  
  21. :STOP
  22. cls                                
  23. echo You MUST pass a node parameter! (ie RUNAV 1)
  24. GOTO REALDONE
  25.  
  26. :DONE
  27. if exist EGO%1.BAT DEL EGO%1.BAT
  28. if exist AVINFO.%1 DEL AVINFO.%1
  29.  
  30. :REALDONE
  31.